<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="path" value="${pageContext.request.contextPath}" ></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="./Style/skin.css" />
    <script src="/Js/jquery.js"></script>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <!-- 头部开始 -->
    <tr>
        <td width="17" valign="top" background="${path}/admin/Images/mail_left_bg.gif"><%--Images/mail_left_bg.gif--%>
            <img src="${path}/admin/Images/left_top_right.gif" width="17" height="29" /><%--/Images/left_top_right.gif--%>
        </td>
        <td valign="top" background="./admin/Images/content_bg.gif">
            <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" background="${path}/admin/Images/content_bg.gif">
                <tr><td height="31"><div class="title">添加栏目</div></td></tr>
            </table>
        </td>
        <td width="16" valign="top" background="${path}/Images/mail_right_bg.gif"><img src="${path}/Images/nav_right_bg.gif" width="16" height="29" /></td>
    </tr>
    <!-- 中间部分开始 -->
    <tr>
        <!--第一行左边框-->
        <td valign="middle" background="${path}/Images/mail_left_bg.gif">&nbsp;</td>
        <!--第一行中间内容-->
        <td valign="top" bgcolor="#F7F8F9">
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <!-- 空白行-->
                <tr><td colspan="2" valign="top">&nbsp;</td><td>&nbsp;</td><td valign="top">&nbsp;</td></tr>
                <tr>
                    <td colspan="4">
                        <table>
                            <tr>
                                <td width="100" align="center"><img src="${path}/Images/mime.gif" /></td>
                                <td valign="bottom"><h3 style="letter-spacing:1px;">在这里，您可以根据您的需求，管理网站参数！</h3></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <!-- 一条线 -->
                <tr>
                    <td height="40" colspan="4">
                        <table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
                            <tr><td></td></tr>
                        </table>
                    </td>
                </tr>
                <!-- 产品列表开始 -->
                <tr>
                    <td width="2%">&nbsp;</td>
                    <td width="96%">
                        <table width="100%">
                            <tr>
                                <td colspan="2">
                                    <form action="" method="">
                                        <table width="100%"  class="cont tr_color">
                                            <tr>
                                                <th>订单编号</th>
                                                <th>用户姓名</th>
                                                <th>性别</th>
                                                <th>年龄</th>
                                                <th>身份证号</th>
                                                <th>联系电话</th>
                                                <th>住址</th>
                                                <th>起点</th>
                                                <th>终点</th>
                                                <th>起飞时间</th>
                                                <th>到达时间</th>
                                                <th>航线编号</th>
                                                <th>航班编号</th>
                                                <th>票价</th>
                                                <th>保险</th>
                                                <th>付款</th>
                                                <th>操作</th>
                                            </tr>
                                            <c:choose>
                                                <c:when test="${empty orders}">
                                                    <tr><td colspan="8" align="center">没有订单</td></tr>
                                                </c:when>
                                                <c:otherwise>
                                                    <c:forEach var="order" items="${orders}" varStatus="status">
                                                        <tr align="center" class="d">
                                                            <td>${order.bookId}</td>
                                                            <td>${order.name}</td>
                                                            <td>${order.sex}</td>
                                                            <td>${order.age}</td>
                                                            <td>${order.id}</td>
                                                            <td>${order.phone}</td>
                                                            <td>${order.address}</td>
                                                            <td>${order.origin}</td>
                                                            <td>${order.destination}</td>
                                                            <td>${order.leaveTime}</td>
                                                            <td>${order.arriveTime}</td>
                                                            <td>${order.flightNo}</td>
                                                            <td>${order.airlineNo}</td>
                                                            <td>${order.ticketPrice}</td>
                                                            <td>${order.insurance == 0?"未购保险":"已购保险"}</td>
                                                            <td>${order.paydastatus == 0?"未付款":"已付款"}</td>
                                                            <td><a href="${path}/AdminServlet?mark=checkOrderByBookId&&bookId=${order.bookId}">编辑</a></td>
                                                        </tr>
                                                    </c:forEach>
                                                </c:otherwise>
                                            </c:choose>
                                          <%--  <tr align="center" class="d">
                                                <td><input type="checkbox" value="" /></td>
                                                <td>1</td>
                                                <td>小米手机</td>
                                                <td>1499</td>
                                                <td>手机</td>
                                                <td>3G手机</td>
                                                <td>删除</td>
                                            </tr>--%>
                                        </table>
                                    </form>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td width="2%">&nbsp;</td>
                </tr>
                <!-- 产品列表结束 -->
                <tr>
                    <td height="40" colspan="4">
                        <table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
                            <tr><td></td></tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td width="2%">&nbsp;</td>
                    <td width="51%" class="left_txt">
                        <img src="${path}/Images/icon_mail.gif" width="16" height="11"> 客户服务邮箱：rainman@foxmail.com<br />
                        <img src="${path}/Images/icon_phone.gif" width="17" height="14"> 官方网站：<a href="http://www.rain-man.cn">http://www.rain-man.cn</a>
                    </td>
                    <td>&nbsp;</td><td>&nbsp;</td>
                </tr>
            </table>
        </td>
        <td background="${path}/Images/mail_right_bg.gif">&nbsp;</td>
    </tr>
    <!-- 底部部分 -->
    <tr>
        <td valign="bottom" background="${path}/Images/mail_left_bg.gif">
            <img src="${path}/Images/buttom_left.gif" width="17" height="17" />
        </td>
        <td background="${path}/Images/buttom_bgs.gif">
            <img src="${path}/Images/buttom_bgs.gif" width="17" height="17">
        </td>
        <td valign="bottom" background="${path}/Images/mail_right_bg.gif">
            <img src="${path}/Images/buttom_right.gif" width="16" height="17" />
        </td>
    </tr>
</table>
</body>
</html>